package com.inossem.warehousestorage_inossem.bean.refundStorage;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/7/3.
 */

public class RefundStorageOverviewBean extends Bean {

    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"pickingNumber":"111","pickingCompany":"检修中心","createDate":"2017-08-09","isFocus":"1","materielList":[{"serial":"001","materielCode":"5000000001","materielDescription":"物料描述1","inventoryAddressCode":"100","inventoryAddressValue":"库存地点100","factoryCode":"111","canReturnNumber":"10","moveType":"202","purchaseOrder":"5010000001","reserveNumber":"1111"},{"serial":"002","materielCode":"5000000002","materielDescription":"物料描述2","inventoryAddressCode":"200","inventoryAddressValue":"库存地点200","factoryCode":"111","canReturnNumber":"10","moveType":"203","purchaseOrder":"5010000002","reserveNumber":"1111"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * pickingNumber : 111
         * pickingCompany : 检修中心
         * createDate : 2017-08-09
         * isFocus : 1
         * materielList : [{"serial":"001","materielCode":"5000000001","materielDescription":"物料描述1","inventoryAddressCode":"100","inventoryAddressValue":"库存地点100","factoryCode":"111","canReturnNumber":"10","moveType":"202","purchaseOrder":"5010000001","reserveNumber":"1111"},{"serial":"002","materielCode":"5000000002","materielDescription":"物料描述2","inventoryAddressCode":"200","inventoryAddressValue":"库存地点200","factoryCode":"111","canReturnNumber":"10","moveType":"203","purchaseOrder":"5010000002","reserveNumber":"1111"}]
         */

        private String refundNumber;
        private String pickingNumber;
        private String pickingCompany;
        private String createDate;
        private String isFocus;
        private List<MaterielListBean> materielList;
        private List<RefundStorageOperatorBean.DataBean.ReceiverListBean> operatorList;

        public String getRefundNumber() {
            return refundNumber;
        }

        public void setRefundNumber(String refundNumber) {
            this.refundNumber = refundNumber;
        }

        public List<RefundStorageOperatorBean.DataBean.ReceiverListBean> getOperatorList() {
            return operatorList;
        }

        public void setOperatorList(List<RefundStorageOperatorBean.DataBean.ReceiverListBean> operatorList) {
            this.operatorList = operatorList;
        }

        public String getPickingNumber() {
            return pickingNumber;
        }

        public void setPickingNumber(String pickingNumber) {
            this.pickingNumber = pickingNumber;
        }

        public String getPickingCompany() {
            return pickingCompany;
        }

        public void setPickingCompany(String pickingCompany) {
            this.pickingCompany = pickingCompany;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getIsFocus() {
            return isFocus;
        }

        public void setIsFocus(String isFocus) {
            this.isFocus = isFocus;
        }

        public List<MaterielListBean> getMaterielList() {
            return materielList;
        }

        public void setMaterielList(List<MaterielListBean> materielList) {
            this.materielList = materielList;
        }

        public static class MaterielListBean {
            /**
             * serial : 001
             * materielCode : 5000000001
             * materielDescription : 物料描述1
             * inventoryAddressCode : 100
             * inventoryAddressValue : 库存地点100
             * factoryCode : 111
             * canReturnNumber : 10
             * moveType : 202
             * purchaseOrder : 5010000001
             * reserveNumber : 1111
             */

            private String serial;
            private String materielCode;
            private String materielDescription;
            private String inventoryAddressCode;
            private String inventoryAddressValue;
            private String factoryCode;
            private String canReturnNumber;
            private String moveType;
            private String purchaseOrder;
            private String reserveNumber;
            private String refundNumber;
            private String unit;
            private RefundStorageBatchListBean.DataBean.BatchListBean batch;

            public RefundStorageBatchListBean.DataBean.BatchListBean getBatch() {
                return batch;
            }

            public void setBatch(RefundStorageBatchListBean.DataBean.BatchListBean batch) {
                this.batch = batch;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getRefundNumber() {
                return refundNumber;
            }

            public void setRefundNumber(String refundNumber) {
                this.refundNumber = refundNumber;
            }

            public String getSerial() {
                return serial;
            }

            public void setSerial(String serial) {
                this.serial = serial;
            }

            public String getMaterielCode() {
                return materielCode;
            }

            public void setMaterielCode(String materielCode) {
                this.materielCode = materielCode;
            }

            public String getMaterielDescription() {
                return materielDescription;
            }

            public void setMaterielDescription(String materielDescription) {
                this.materielDescription = materielDescription;
            }

            public String getInventoryAddressCode() {
                return inventoryAddressCode;
            }

            public void setInventoryAddressCode(String inventoryAddressCode) {
                this.inventoryAddressCode = inventoryAddressCode;
            }

            public String getInventoryAddressValue() {
                return inventoryAddressValue;
            }

            public void setInventoryAddressValue(String inventoryAddressValue) {
                this.inventoryAddressValue = inventoryAddressValue;
            }

            public String getFactoryCode() {
                return factoryCode;
            }

            public void setFactoryCode(String factoryCode) {
                this.factoryCode = factoryCode;
            }

            public String getCanReturnNumber() {
                return canReturnNumber;
            }

            public void setCanReturnNumber(String canReturnNumber) {
                this.canReturnNumber = canReturnNumber;
            }

            public String getMoveType() {
                return moveType;
            }

            public void setMoveType(String moveType) {
                this.moveType = moveType;
            }

            public String getPurchaseOrder() {
                return purchaseOrder;
            }

            public void setPurchaseOrder(String purchaseOrder) {
                this.purchaseOrder = purchaseOrder;
            }

            public String getReserveNumber() {
                return reserveNumber;
            }

            public void setReserveNumber(String reserveNumber) {
                this.reserveNumber = reserveNumber;
            }
        }
    }
}
